package com.truyen.service;

import java.util.List;

import com.truyen.persistence.entity.TacGia;
import com.truyen.utils.PagingInfo;


public interface TacGiaService {
	
	// tao moi
	void save(TacGia entity);

	//tim theo id
	TacGia findById(Long id);

	//lay tat ca
	List<TacGia> getAll();

	TacGia findByProperty(String column, Object value);
	
	List<TacGia> getAllLst(String kwSearch, String sort, String sortBy,
			PagingInfo pInfo);

	List<TacGia> getLstByLoaiTruyen(int loaiTruyen, PagingInfo pInfo);

	TacGia findByAliasLoaiTruyen(String authorAlias, int loaiTruyen);
	
}
